package com.fourth;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

/**
 * Created with IntelliJ IDEA.
 *
 * @author 邓建波
 */
@EnableSwagger2WebMvc
@EnableTransactionManagement(proxyTargetClass = true)
@MapperScan("com.fourth.mapper")
@SpringBootApplication
public class ElectronicApplication {
    public static void main(String[] args) {
        SpringApplication.run(ElectronicApplication.class,args);
    }
}
